package com.youlai.boot.system.controller;

import com.youlai.boot.system.service.PrintService;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/v1/print")
public class PrintController {
//    @Autowired
//    private final PrintService printService;
//
//    public PrintController(PrintService printService) {
//        this.printService = printService;
//    }
//    @PostMapping("/entity")
//    public ResponseEntity<String> submitPrintJob(@RequestParam String type,@RequestParam String content){
//        printService.hadlePrintRequest(type,content);
//        return ResponseEntity.ok("print job sumitted");
//    }
}
